<template>
  <div class="innovation-game">
    <div class="game-header">
      <el-button icon="ArrowLeft" @click="goBack">返回游戏中心</el-button>
      <div class="title">
        <h1>💡 创新工坊</h1>
        <p>发挥创意，设计创新产品</p>
      </div>
      <el-tag type="success">创新指数: {{ score }}</el-tag>
    </div>
    <div class="container">
      <el-card>
        <h2>创新工坊</h2>
        <p>通过头脑风暴和创意组合，设计创新产品</p>
        <el-button type="primary" size="large" @click="start">开始创新</el-button>
      </el-card>
    </div>
  </div>
</template>

<script setup>
import { ref } from 'vue'
import { useRouter } from 'vue-router'
import { ArrowLeft } from '@element-plus/icons-vue'

const router = useRouter()
const score = ref(0)
const goBack = () => router.push('/learning/games')
const start = () => console.log('Start innovation')
</script>

<style scoped>
.innovation-game {
  min-height: 100vh;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  padding: 20px;
}
.game-header {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.title {
  flex: 1;
  text-align: center;
}
.title h1 {
  margin: 0 0 5px 0;
}
.title p {
  margin: 0;
  color: #909399;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 0;
}
</style>

